package com.ssy.lingxi.contract.model.vo.applyamount.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 分页查询请款单汇总接口参数VO
 * @author 伍将
 * @date 2021/3/11
 * @version 2.0.0
 */
public class ApplyAmountOrderSummaryPageVO extends PageVO implements Serializable {
    private static final long serialVersionUID = -7233094610370956543L;

    /**
     * 合同Id
     */
    @NotNull(message = "合同id不能为空")
    @Positive(message = "合同id不能为空")
    private Long contractId;

    /**
     * 角色类型：1.服务提供 2.服务消费
     */
    private Integer roleType;

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }
}
